package com.humanres.http.Req;

import com.ciko.code.bean.WorkFlowEntity;

import java.io.Serializable;

/**
 * Created by ciko on 2015/12/10.
 */
public class GetLeaveFlowsBySelfEty implements Serializable {

    /**
     * ifAdd : 1
     * endTime : 1970-01-18 02:43:26
     * leaveType : 年休假
     * workFlowId : 90
     * workFlow : {"createTime":"2015-12-09 00:07:43","status":0,"nodeName":"流程发起","staffAccount":null,"workFlowCode":"leave","workFlowName":"请假","staffInfoDto":null,"id":90,"recodeList":[{"flowTime":"2015-12-09 00:07:43","preHzlqswStaffInfoDto":null,"preNodeName":"流程发起","preUserId":4,"flowRecode":"同意","userRole":"0","workFlowId":90,"nextNodeCode":"doing","id":66,"nextNodeName":"流程审批","nextUserId":4,"nextHzlqswStaffInfoDto":null,"flowHandle":"0","nextUserName":"林肯","userHead":"/tb/upload/headimage/56999dae-942d-4796-b955-bbdc881edfa6.png","preNodeCode":"start","perUserName":"林肯"}],"userInfoId":4,"userInfoDto":null,"staffName":"林肯","staffInfoId":4,"userName":"林肯","userAccount":null,"modifyTime":"2015-12-09 00:07:43","nodeCode":"start"}
     * startTime : 1970-01-18 02:39:50
     * imgUrl : http://pic14.nipic.com/20110522/7411759_164157418126_2.jpg
     * id : 37
     * leaveReason : dfgdsgsdfgsdf
     * userId : 4
     * nextUserId : 4
     * userName : 林肯
     * nextUserName : 林肯
     * leaveDays : 3
     */

    private int ifAdd;
    private long endTime;
    private String leaveType;
    private int workFlowId;
    /**
     * createTime : 2015-12-09 00:07:43
     * status : 0
     * nodeName : 流程发起
     * staffAccount : null
     * workFlowCode : leave
     * workFlowName : 请假
     * staffInfoDto : null
     * id : 90
     * recodeList : [{"flowTime":"2015-12-09 00:07:43","preHzlqswStaffInfoDto":null,"preNodeName":"流程发起","preUserId":4,"flowRecode":"同意","userRole":"0","workFlowId":90,"nextNodeCode":"doing","id":66,"nextNodeName":"流程审批","nextUserId":4,"nextHzlqswStaffInfoDto":null,"flowHandle":"0","nextUserName":"林肯","userHead":"/tb/upload/headimage/56999dae-942d-4796-b955-bbdc881edfa6.png","preNodeCode":"start","perUserName":"林肯"}]
     * userInfoId : 4
     * userInfoDto : null
     * staffName : 林肯
     * staffInfoId : 4
     * userName : 林肯
     * userAccount : null
     * modifyTime : 2015-12-09 00:07:43
     * nodeCode : start
     */

    private WorkFlowEntity workFlow;
    private long startTime;
    private String imgUrl;
    private int id;
    private String leaveReason;
    private int userId;
    private int nextUserId;
    private String userName;
    private String nextUserName;
    private double leaveDays;

    public void setIfAdd(int ifAdd) {
        this.ifAdd = ifAdd;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public void setLeaveType(String leaveType) {
        this.leaveType = leaveType;
    }

    public void setWorkFlowId(int workFlowId) {
        this.workFlowId = workFlowId;
    }

    public void setWorkFlow(WorkFlowEntity workFlow) {
        this.workFlow = workFlow;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setLeaveReason(String leaveReason) {
        this.leaveReason = leaveReason;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public void setNextUserId(int nextUserId) {
        this.nextUserId = nextUserId;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setNextUserName(String nextUserName) {
        this.nextUserName = nextUserName;
    }

    public void setLeaveDays(double leaveDays) {
        this.leaveDays = leaveDays;
    }

    public int getIfAdd() {
        return ifAdd;
    }

    public long getEndTime() {
        return endTime;
    }

    public String getLeaveType() {
        return leaveType;
    }

    public int getWorkFlowId() {
        return workFlowId;
    }

    public WorkFlowEntity getWorkFlow() {
        return workFlow;
    }

    public long getStartTime() {
        return startTime;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public int getId() {
        return id;
    }

    public String getLeaveReason() {
        return leaveReason;
    }

    public int getUserId() {
        return userId;
    }

    public int getNextUserId() {
        return nextUserId;
    }

    public String getUserName() {
        return userName;
    }

    public String getNextUserName() {
        return nextUserName;
    }

    public double getLeaveDays() {
        return leaveDays;
    }

}
